using System;
using System.Collections.Generic;
using System.Text;
using System.Data;

namespace DTO
{
	/// <summary> 
	///Author: nnamthach@gmail.com 
	/// <summary>
	
    public class ChuyenSanXuatInfo : DTOInfo
    {
		#region Local Variable
		public class Field {
            public const string
				XuongId = "XuongId"
				,LineId = "LineId"
				,LoaiBang = "LoaiBang"
				,TenChuyen = "TenChuyen"
				,KhachHang = "KhachHang"
				,MaHang = "MaHang"
				,SoLuongMaHang = "SoLuongMaHang"
				,DonGia = "DonGia"
				,SoLaoDong = "SoLaoDong"
				,SoVang = "SoVang"
				,TyLeDat = "TyLeDat"
				,SoGiaiDoan = "SoGiaiDoan"
				,DinhMuc1 = "DinhMuc1"
				,DinhMuc2 = "DinhMuc2"
				,DinhMuc3 = "DinhMuc3"
				,DinhMuc4 = "DinhMuc4"
				,DinhMuc5 = "DinhMuc5"
				,HoanTat1 = "HoanTat1"
				,HoanTat2 = "HoanTat2"
				,HoanTat3 = "HoanTat3"
				,HoanTat4 = "HoanTat4"
				,HoanTat5 = "HoanTat5"
				,LuyKeSL1 = "LuyKeSL1"
				,LuyKeSL2 = "LuyKeSL2"
				,LuyKeSL3 = "LuyKeSL3"
				,LuyKeSL4 = "LuyKeSL4"
				,LuyKeSL5 = "LuyKeSL5"
				,KeHoachSL1 = "KeHoachSL1"
				,KeHoachSL2 = "KeHoachSL2"
				,KeHoachSL3 = "KeHoachSL3"
				,KeHoachSL4 = "KeHoachSL4"
				,Comments = "Comments"
				,WorkTimeOfDay = "WorkTimeOfDay"
				,WorkTimeOfNow = "WorkTimeOfNow"
            ;
		}
		private String _XuongId;
		private Int32? _LineId;
		private String _LoaiBang;
		private String _TenChuyen;
		private String _KhachHang;
		private String _MaHang;
		private Int64? _SoLuongMaHang;
		private Double? _DonGia;
		private Int32? _SoLaoDong;
		private Int32? _SoVang;
		private Double? _TyLeDat;
		private Int32? _SoGiaiDoan;
		private Int32? _DinhMuc1;
		private Int32? _DinhMuc2;
		private Int32? _DinhMuc3;
		private Int32? _DinhMuc4;
		private Int32? _DinhMuc5;
		private Int32? _HoanTat1;
		private Int32? _HoanTat2;
		private Int32? _HoanTat3;
		private Int32? _HoanTat4;
		private Int32? _HoanTat5;
		private Int32? _LuyKeSL1;
		private Int32? _LuyKeSL2;
		private Int32? _LuyKeSL3;
		private Int32? _LuyKeSL4;
		private Int32? _LuyKeSL5;
		private Int32? _KeHoachSL1;
		private Int32? _KeHoachSL2;
		private Int32? _KeHoachSL3;
		private Int32? _KeHoachSL4;
		private String _Comments;
		private Int32? _WorkTimeOfDay;
		private Int32? _WorkTimeOfNow;
        private ChuyenLCDInfo[] lcds;

        public ChuyenLCDInfo[] Lcds
        {
            get { return lcds; }
            set { lcds = value; }
        }
		public String XuongId { get{ return _XuongId; } set{ _XuongId = value; } }
		public Int32? LineId { get{ return _LineId; } set{ _LineId = value; } }
		public String LoaiBang { get{ return _LoaiBang; } set{ _LoaiBang = value; } }
		public String TenChuyen { get{ return _TenChuyen; } set{ _TenChuyen = value; } }
		public String KhachHang { get{ return _KhachHang; } set{ _KhachHang = value; } }
		public String MaHang { get{ return _MaHang; } set{ _MaHang = value; } }
		public Int64? SoLuongMaHang { get{ return _SoLuongMaHang; } set{ _SoLuongMaHang = value; } }
		public Double? DonGia { get{ return _DonGia; } set{ _DonGia = value; } }
		public Int32? SoLaoDong { get{ return _SoLaoDong; } set{ _SoLaoDong = value; } }
		public Int32? SoVang { get{ return _SoVang; } set{ _SoVang = value; } }
		public Double? TyLeDat { get{ return _TyLeDat; } set{ _TyLeDat = value; } }
		public Int32? SoGiaiDoan { get{ return _SoGiaiDoan; } set{ _SoGiaiDoan = value; } }
		public Int32? DinhMuc1 { get{ return _DinhMuc1; } set{ _DinhMuc1 = value; } }
		public Int32? DinhMuc2 { get{ return _DinhMuc2; } set{ _DinhMuc2 = value; } }
		public Int32? DinhMuc3 { get{ return _DinhMuc3; } set{ _DinhMuc3 = value; } }
		public Int32? DinhMuc4 { get{ return _DinhMuc4; } set{ _DinhMuc4 = value; } }
		public Int32? DinhMuc5 { get{ return _DinhMuc5; } set{ _DinhMuc5 = value; } }
		public Int32? HoanTat1 { get{ return _HoanTat1; } set{ _HoanTat1 = value; } }
		public Int32? HoanTat2 { get{ return _HoanTat2; } set{ _HoanTat2 = value; } }
		public Int32? HoanTat3 { get{ return _HoanTat3; } set{ _HoanTat3 = value; } }
		public Int32? HoanTat4 { get{ return _HoanTat4; } set{ _HoanTat4 = value; } }
		public Int32? HoanTat5 { get{ return _HoanTat5; } set{ _HoanTat5 = value; } }
		public Int32? LuyKeSL1 { get{ return _LuyKeSL1; } set{ _LuyKeSL1 = value; } }
		public Int32? LuyKeSL2 { get{ return _LuyKeSL2; } set{ _LuyKeSL2 = value; } }
		public Int32? LuyKeSL3 { get{ return _LuyKeSL3; } set{ _LuyKeSL3 = value; } }
		public Int32? LuyKeSL4 { get{ return _LuyKeSL4; } set{ _LuyKeSL4 = value; } }
		public Int32? LuyKeSL5 { get{ return _LuyKeSL5; } set{ _LuyKeSL5 = value; } }
		public Int32? KeHoachSL1 { get{ return _KeHoachSL1; } set{ _KeHoachSL1 = value; } }
		public Int32? KeHoachSL2 { get{ return _KeHoachSL2; } set{ _KeHoachSL2 = value; } }
		public Int32? KeHoachSL3 { get{ return _KeHoachSL3; } set{ _KeHoachSL3 = value; } }
		public Int32? KeHoachSL4 { get{ return _KeHoachSL4; } set{ _KeHoachSL4 = value; } }
		public String Comments { get{ return _Comments; } set{ _Comments = value; } }
		public Int32? WorkTimeOfDay { get{ return _WorkTimeOfDay; } set{ _WorkTimeOfDay = value; } }
		public Int32? WorkTimeOfNow { get{ return _WorkTimeOfNow; } set{ _WorkTimeOfNow = value; } }
		
        #endregion LocalVariable
        
        #region Constructor
		public ChuyenSanXuatInfo() { }
		public ChuyenSanXuatInfo(String XuongId, Int32 LineId, String LoaiBang, String TenChuyen, String KhachHang, String MaHang, Int64 SoLuongMaHang, Double DonGia, Int32 SoLaoDong, Int32 SoVang, Double TyLeDat, Int32 SoGiaiDoan, Int32 DinhMuc1, Int32 DinhMuc2, Int32 DinhMuc3, Int32 DinhMuc4, Int32 DinhMuc5, Int32 HoanTat1, Int32 HoanTat2, Int32 HoanTat3, Int32 HoanTat4, Int32 HoanTat5, Int32 LuyKeSL1, Int32 LuyKeSL2, Int32 LuyKeSL3, Int32 LuyKeSL4, Int32 LuyKeSL5, Int32 KeHoachSL1, Int32 KeHoachSL2, Int32 KeHoachSL3, Int32 KeHoachSL4, String Comments, Int32 WorkTimeOfDay, Int32 WorkTimeOfNow) {
			_XuongId = XuongId;
			_LineId = LineId;
			_LoaiBang = LoaiBang;
			_TenChuyen = TenChuyen;
			_KhachHang = KhachHang;
			_MaHang = MaHang;
			_SoLuongMaHang = SoLuongMaHang;
			_DonGia = DonGia;
			_SoLaoDong = SoLaoDong;
			_SoVang = SoVang;
			_TyLeDat = TyLeDat;
			_SoGiaiDoan = SoGiaiDoan;
			_DinhMuc1 = DinhMuc1;
			_DinhMuc2 = DinhMuc2;
			_DinhMuc3 = DinhMuc3;
			_DinhMuc4 = DinhMuc4;
			_DinhMuc5 = DinhMuc5;
			_HoanTat1 = HoanTat1;
			_HoanTat2 = HoanTat2;
			_HoanTat3 = HoanTat3;
			_HoanTat4 = HoanTat4;
			_HoanTat5 = HoanTat5;
			_LuyKeSL1 = LuyKeSL1;
			_LuyKeSL2 = LuyKeSL2;
			_LuyKeSL3 = LuyKeSL3;
			_LuyKeSL4 = LuyKeSL4;
			_LuyKeSL5 = LuyKeSL5;
			_KeHoachSL1 = KeHoachSL1;
			_KeHoachSL2 = KeHoachSL2;
			_KeHoachSL3 = KeHoachSL3;
			_KeHoachSL4 = KeHoachSL4;
			_Comments = Comments;
			_WorkTimeOfDay = WorkTimeOfDay;
			_WorkTimeOfNow = WorkTimeOfNow;
		}
		public ChuyenSanXuatInfo(DataRow dr) {
			LoadDataRow(dr);
		}

		public ChuyenSanXuatInfo(DataRowView dr) : this(dr.Row) { }
		
		public ChuyenSanXuatInfo(ChuyenSanXuatInfo objEntr) : base(objEntr) {	}
        #endregion Constructor       
        
    }
}
